package cn.wolfcode.service;

import cn.wolfcode.domain.Department;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService {
    int delete(Long id);

    int save(Department department);

    Department get(Long id);

    List<Department> listAll();

    int update(Department department);

    PageInfo<Department> query(QueryObject qo);
}

